package com.yc.ycpaimon

import android.app.Application
import com.yc.jetpacklib.init.YcJetpack
import com.yc.ycpaimon.data.constant.Constants

/**
 * Creator: yc
 * Date: 2022/2/17 18:21
 * UseDes:
 */
class App : Application() {
    companion object {
        @JvmStatic
        lateinit var mInstance: Application
    }

    override fun onCreate() {
        super.onCreate()
        mInstance = this
        YcJetpack.mInstance.apply {
            init(this@App)
            mDefaultBaseUrl = Constants.GITHUB_URL
        }
    }
}